﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ElfTyping.Cards
{
    public class ArrowCard : Card
    {        
        static string[] ArrowNames = { "",
                                       "Basic Arrows",
                                       "Silver-Tip Arrows",
                                       "Tan-Weld Arrows",
                                       "Tattooed Arrows",
                                     };
        public static int Arrow_MaxDamage = ArrowNames.Length - 1;

        public int Damage;
                                         
        public ArrowCard(int damage)
        {
            Name = ArrowNames[damage];
            Description = string.Format("\n       +{0} Damage", damage);
            Image = new Animations.Animation(@"Textures\Cards\Arrow" + damage);
            Indicator = IndicatorArrow;
            Base = SkyCardBase;
            ID = "ARROW-" + damage;

            Damage = damage;

            if (damage <= 1)
            {
                Rarity = Rarity.Common;
            }
            else if (damage <= 3)
            {
                Rarity = Rarity.Uncommon;
            }
            else
            {
                Rarity = Rarity.Rare;
            }
        }
    }    
}
